package com.lcw.lostandfound.service;

import com.github.pagehelper.PageInfo;
import com.lcw.lostandfound.pojo.Thank;

import java.util.List;

public interface ThankService {
    List<Thank> findAllThank();
    List<Thank> findWallsThank();
    int insertThank(Thank thank);
    Thank findById(Integer id);
    Thank findByTitle(String title);
    int deleteById(Integer id);
    PageInfo<Thank> listThanks(Integer pageNum, Integer pageSize);
}
